package com.demandbreakdown.xiyun.model.dto.picture;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * 图片更新DTO
 *
 * @author poxz
 */
@Data
@Schema(description = "图片更新DTO")
public class PictureUpdateDTO {

    @Schema(description = "图片名称", example = "美丽的风景")
    @Size(min = 1, max = 100, message = "图片名称长度必须在1-100个字符之间")
    private String pictureName;

    @Schema(description = "图片简介", example = "这是一张美丽的风景图片")
    @Size(max = 500, message = "图片简介长度不能超过500个字符")
    private String introduction;

    @Schema(description = "图片分类", example = "风景")
    @Size(max = 64, message = "分类长度不能超过64个字符")
    private String category;

    @Schema(description = "标签列表", example = "[\"旅行\", \"天空\"]")
    private List<String> tags;

    @Schema(description = "目标空间ID（移动图片）", example = "456")
    private Long spaceId;
}


